Add persistent data storage support
[inav.git] / docs / Board - SPRacingF3.md
blobb54354f69b90271790687449cd43cb7eb284794f
1 # Board - SPRacingF3
3 The Seriously Pro Racing MOF3 board (SPRacingF3) is the first board designed specifically for INAV.
5 Full details available on the website, here:
7 http://seriouslypro.com/spracingf3
9 ## Hardware Features
11 * No compromise I/O. Use all the features all the time; e.g. Connect your OSD + SmartPort + SBus + GPS + LED Strip + Battery Monitoring + HC-SR04 + 8 motors - all at the same time!
12 * On-board high-capacity black box flight log recorder - optimize your tuning and see the results of your setup without guesswork. (Acro and Deluxe)
13 * Next-generation STM32 F3 processor with hardware floating point unit for efficient flight calculations and faster ARM-Cortex M4 core.
14 * Stackable design - perfect for integrating with OSDs and power distribution boards.
15 * 16 PWM I/O lines for ESCs, Servos and legacy receivers. 8 available on standard pin headers. 8 via side mounted connectors.
16 * Supports SBus, SumH, SumD, Spektrum1024/2048, XBus, PPM, PWM receivers. No external inverters required (built-in).
17 * Dedicated output for programmable LEDs - great for orientation, racing and night flying.
18 * Dedicated I2C port for connection of OLED display without needing flight battery.
19 * Battery monitoring ports for voltage and current.
20 * Buzzer port for audible warnings and notifications.
21 * Solder pads in addition to connectors for HC-SR04, PPM, RSSI, Current, GPIO, LED Strip, 3.3v,
22 * Developer friendly debugging port (SWD) and boot mode selection, unbrickable bootloader.
23 * Symmetrical design for a super tidy wiring.
24 * Wire up using using pin headers, JST-SH sockets or solder pads. Use either right-angled or straight pin-headers.
25 * Barometer mounted on the bottom of the board for easy wind isolation.
27 ## Serial Ports
29 | Value | Identifier   | RX           | TX           | 5v Tolerant | Notes                                                                                       |
30 | ----- | ------------ | ------------ | ------------ | ----------- | ------------------------------------------------------------------------------------------- |
31 | 1     | USART1       | PA10         | PA9          | YES         | Internally connected to USB port via CP2102 IC.  Also available on a USART1 JST connector and on through hole pins. |
32 | 2     | USART2       | PA15         | PA14         | YES         | Available on USART2 JST port only. |
33 | 3     | USART3       | PB11 / IO2_3 | PB10 / IO2_4 | NO          | Available on IO_2, USART3 JST port and through hole pins. |
35 * You cannot use SWD and USART2 at the same time.
36 * You may encounter flashing problems if you have something connected to the USART1 RX/TX pins.   Power other devices of and/or disconnect them.
38 ## Pinouts
40 Full pinout details are available in the manual, here:
42 http://seriouslypro.com/spracingf3#manual
44 ### IO_1
46 | Pin | Function       | Notes                                        |
47 | --- | -------------- | -------------------------------------------- |
48 | 1   | Ground         |                                              |
49 | 2   | VCC_IN         | Voltage as-supplied by BEC.                  |
50 | 3   | RX_PPM         | Enable `feature RX_PPM`                      |
51 | 4   | GPIO           |                                              |
52 | 5   | SoftSerial1_RX |                                              |
53 | 6   | SoftSerial1_TX |                                              |
54 | 7   | LED_STRIP      | Enable `feature LED_STRIP`                   |
55 | 8   | VCC            | 3.3v output for LOW CURRENT application only |
57 ### IO_2
59 | Pin | Function                  | Notes                                        |
60 | --- | ------------------------- | -------------------------------------------- |
61 | 1   | Ground                    |                                              |
62 | 2   | VCC_IN                    | Voltage as-supplied by BEC.                  |
63 | 3   | RX_SERIAL                 | UART3 RX                                     |
64 | 4   |                           | UART3_TX                                     |
65 | 5   | HC-SR04_TRIG/SoftSerial2_RX | Enable `feature SOFTSERIAL` or HC-SR04 rangefinder     |
66 | 6   | HC-SR04_ECHO/SoftSerial2_TX | Enable `feature SOFTSERIAL` or HC-SR04 rangefinder     |
67 | 7   | ADC_1                     | Current Sensor                               |
68 | 8   | ADC_2                     | RSSI                                         |
70 ### UART1/2/3
72 | Pin | Function       | Notes                                        |
73 | --- | -------------- | -------------------------------------------- |
74 | 1   | Ground         |                                              |
75 | 2   | VCC_IN         | Voltage as-supplied by BEC.                  |
76 | 3   | TXD            |                                              |
77 | 4   | RXD            |                                              |
79 ### I2C
81 | Pin | Function       | Notes                                        |
82 | --- | -------------- | -------------------------------------------- |
83 | 1   | Ground         |                                              |
84 | 2   | 5.0v           | Voltage as-supplied by BEC OR USB, always on |
85 | 3   | SCL            |                                              |
86 | 4   | SDA            |                                              |
88 ### SWD
90 The port cannot be used at the same time as UART2.
92 | Pin | Function       | Notes                                        |
93 | --- | -------------- | -------------------------------------------- |
94 | 1   | Ground         |                                              |
95 | 2   | NRST           | Voltage as-supplied by BEC OR USB, always on |
96 | 3   | SWDIO          |                                              |
97 | 4   | SWDCLK         |                                              |